package com.cn.demo4.service.impl;

import com.cn.demo4.dao.HouseDao;
import com.cn.demo4.dao.impl.HouseDaoImpl;
import com.cn.demo4.model.HouseModel;
import com.cn.demo4.service.IHouseService;

import java.util.List;

public class HouseServiceImpl implements IHouseService {
    @Override
    public List<HouseModel> findAll() {
        HouseDao houseDao = new HouseDaoImpl();
        return houseDao.findAll();
    }
}
